//package com.tank.demo.oldVersion;
//
//import com.tank.demo.frame.TankFrame;
//import com.tank.demo.utils.ResourceMgr;
//import lombok.*;
//
//import javax.imageio.ImageIO;
//import java.awt.*;
//import java.io.IOException;
//
////@Data
////@NoArgsConstructor
//@AllArgsConstructor
////@ToString
//@Setter
//@Getter
//public class Explode {
//    private int x,y;
//    TankFrame tf;
//    public static final int EXPLODE_WIDTH = ResourceMgr.blast[0].getWidth(),EXPLODE_HEIGHT = ResourceMgr.blast[0].getHeight();
//    public void paint(Graphics g) {
//        for (int i =0;i<15;i++){
//            g.drawImage(ResourceMgr.blast[i],x,y,null);
//        }
//        tf.explodes.remove(this);
//    }
//}
